<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link th:href="@{/local/css/login.css}" rel="stylesheet">
</head>
<body>
<div id="msg" th:text="${msg}"></div>
<form action="/admin/doLogin" method="post">
    <div>
        用户名:<input type="text" name="name">
    </div>
    <div>
        密&nbsp;&nbsp;&nbsp;&nbsp;码:<input type="password" name="password">
    </div>
    <div>
        <input type="submit" value="提&nbsp;&nbsp;交">
    </div>
</form>

</body>
</html>